import { SetMetadata } from '@nestjs/common'
import { PluginMetadata } from '../interfaces/plugin.interface'

/**
 * 插件元数据装饰器
 */
export const Plugin = (metadata: PluginMetadata) => SetMetadata('plugin', metadata)
